package model;

import java.util.Vector;

public class Module {
	private String name;
	private Vector<String> responsabilities = null;
	private String complexity;

	public void setName(String aName) {
		this.name = aName;
	}

	public String getName() {
		return this.name;
	}

	public void setComplexity(String aComplexity) {
		this.complexity = aComplexity;
	}

	public String getComplexity() {
		return this.complexity;
	}

	public Vector<String> getResponsabilities() {
		return responsabilities;
	}

	public void setResponsabilities(Vector<String> responsabilities) {
		this.responsabilities = responsabilities;
	}
	
	public void addResponsability(String responsability){
		
		if(this.responsabilities == null){
			this.responsabilities = new Vector<String>();			
		}
		this.responsabilities.add(responsability);	
	}
}